﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using SGRapidForm.Common;

namespace SGRapidForm.Permission.Entity
{
    [DataContract]
    public class ModuleEntity : EntityBase
    {
        public ModuleEntity()
        {

        }

        #region Model

        private string _keyid = string.Empty;
        private string _modulecode = string.Empty;
        private string _modulename = string.Empty;
        private string _modulenameen = string.Empty;
        private string _imageurl = string.Empty;
        private string _navigateurl = string.Empty;
        private int? _order = 0;
        private string _remark = string.Empty;
        private string _createname = string.Empty;
        private DateTime? _createdate = new DateTime(1900, 1, 1, 0, 0, 0);
        private string _modifyname = string.Empty;
        private DateTime? _modifydate = new DateTime(1900, 1, 1, 0, 0, 0);
        [DataMember]
        public string Keyid
        {
            set { _keyid = value; }
            get { return _keyid; }
        }
        [DataMember]
        public string ModuleCode
        {
            set { _modulecode = value; }
            get { return _modulecode; }
        }
        [DataMember]
        public string ModuleName
        {
            set { _modulename = value; }
            get { return _modulename; }
        }
        [DataMember]
        public string ModuleNameEn
        {
            set { _modulenameen = value; }
            get { return _modulenameen; }
        }
        [DataMember]
        public string ImageUrl
        {
            set { _imageurl = value; }
            get { return _imageurl; }
        }
        [DataMember]
        public string NavigateUrl
        {
            set { _navigateurl = value; }
            get { return _navigateurl; }
        }
        [DataMember]
        public int? Order
        {
            set { _order = value; }
            get { return _order; }
        }
        [DataMember]
        public string Remark
        {
            set { _remark = value; }
            get { return _remark; }
        }
        [DataMember]
        public string CreateName
        {
            set { _createname = value; }
            get { return _createname; }
        }
        [DataMember]
        public DateTime? CreateDate
        {
            set { _createdate = value; }
            get { return _createdate; }
        }
        [DataMember]
        public string ModifyName
        {
            set { _modifyname = value; }
            get { return _modifyname; }
        }
        [DataMember]
        public DateTime? ModifyDate
        {
            set { _modifydate = value; }
            get { return _modifydate; }
        }
        #endregion
    }
}